////////////////////////////////////////////////////////////////////////////////
// Filename: tools.h
////////////////////////////////////////////////////////////////////////////////
#ifndef _TOOLS_H_
#define _TOOLS_H_

#include <Windows.h>
#include <xnamath.h>
#include <string>
#include <vector>

struct BoundingBox
{
	float x1;
	float y1;
	float z1;
	float x2;
	float y2;
	float z2;
};

const wchar_t* to_wide( const std::string& strToConvert );
std::string GetDirectoryPath(std::string pFilePath);
void GetVector3D(std::string pStrVector3d, XMFLOAT3 &vector);
std::vector<std::string> split(const std::string& s, char seperator);
XMFLOAT4 StringToQuaternion(std::string pStrYPR);
void AddBoundingBox(BoundingBox &pBoundingBox, BoundingBox &pBoundingBoxToAdd);




#endif